import {
    request
} from './index';
/**
 * 测试axios和mockJs
 */
export function getMsg() {
    return request({
        baseURL: " http://localhost:3000/lay",
        method: "GET",
        url: '/api',
        headers: {
            "Content-Type": "application/json"
        }
    });
}

export function realTimeSituation() {
    return request({
        baseURL: " http://localhost:3000/lay",
        method: "GET",
        url: '/query',
        headers: {
            "Content-Type": "application/json"
        }
    });
}

export function getMsgFormPubli() {
    return request({
        baseURL: " http://localhost:3000",
        method: "GET",
        url: '/pointer_message.json',
        headers: {
            "Content-Type": "application/json"
        }
    });
}